pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
[personal profile] pne

You know, I'm rather annoyed at Opera.

One of the things I learned from ciwah is that MSIE is not a browser because it ignores published standards, one of them being "the Content-type header which a web server provides is authoritative" (MSIE ignores it in some cases, including text/plain and—I believe—application/octet-stream and attempts to "sniff" the content type by inspecting the data).

I've seen Opera do this too. For example, when viewing some Zilla attachments containing bits of HTML code embedded in the patch, it'll display the page as HTML even though the web server says it's "text/plain".

I'm even more disappointed since I thought Opera marketted itself as being one of the more standards-compliant browsers around. (And besides, rendering text with some embedded HTML tags as HTML screws up the text so you can't read it.)

Re: HTML

Date: Sunday, 7 September 2003 08:16 (UTC)
ext_78: A picture of a plush animal. It looks a bit like a cross between a duck and a platypus. (Default)
From: [identity profile] pne.livejournal.com
Well, I could've connected to the web server and issued a HEAD request by hand (HTTP isn't that much of a black art), but I did use a utility program called HEAD to do it.

It comes with the LWP (libwww-perl) package; if you've got the module LWP::Simple installed, for example, you should have GET and HEAD on your path (I think they're both symbolic links to another script called lwp-request).

Try it out with something like HEAD http://www.livejournal.com/; it should send an HTTP HEAD request to LiveJournal and display the HTTP headers returned by that request.

Re: HTML

Date: Sunday, 7 September 2003 09:24 (UTC)
From: [identity profile] nik-w.livejournal.com
Doh! I was typing "head"! I almost put in the comment "I could write a perl script using LWP". I knew about GET and, now you mention it, about HEAD too - just being a bit dim today!:p Of course, the moment I try it, LJ packs up and dies again (status. is still down - wonder what's going on), but I tried it elsewhere and it worked:)

Issuing requests to webservers manually is like reading your mail via telnet - all it proves is that we're geeky enough to know these things!:p

Re: HTML

Date: Sunday, 7 September 2003 09:32 (UTC)
ext_78: A picture of a plush animal. It looks a bit like a cross between a duck and a platypus. (Default)
From: [identity profile] pne.livejournal.com
Doh! I was typing "head"!

That would tend to have a different effect, yes... :)

Issuing requests to webservers manually is like reading your mail via telnet - all it proves is that we're geeky enough to know these things!:p

I learned how to send mail first. It was fun being taught by someone how to send SMTP and spoof the sender. But I can (and have) read mail via POP3. It works... but it's not that much fun. I'm glad there are more user-friendly clients out there ;)

Re: HTML

Date: Sunday, 7 September 2003 17:00 (UTC)
emma: (Default)
From: [personal profile] emma
It was fun being taught by someone how to send SMTP and spoof the sender.

*giggle* i did that.

Profile

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
Philip Newton

June 2015

S M T W T F S
 12 3456
78910111213
14151617181920
2122232425 2627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Saturday, 24 January 2026 15:19
Powered by Dreamwidth Studios