[wp-hackers] Forum post: Odd error
Johannes Lichtenberger
jl at nabooisland.com
Thu Mar 30 19:11:45 GMT 2006
"Andy Skelton" <skeltoac at gmail.com> writes:
> I haven't followed any of your links, but I do see a "Content-type"
> header, which has a small "t" instead of the usual "T".
,----[ RFC 2616 - HTTP/1.1 ]
| Field names are case-insensitive.
| <http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2>
`----
It's a little bit strange:
,----[ running Netcat ]
| $ nc www.pittipat.net 80
| HEAD http://www.pittipat.net/journal/index.php HTTP/1.1
| Host: www.pittipat.net
| Connection: close
|
| HTTP/1.1 404 Gone
| Date: Thu, 30 Mar 2006 19:33:46 GMT
| Server: Apache/2.0.50 (Red Hat Linux)
| Set-Cookie: visited=2/30/106; path=/; expires=Wed, 07-Dec-2011 12:40:25 AM GMT
| Connection: close
| Content-Type: text/plain; charset=ISO-8859-1
`----
but running Ethereal and Mozilla Firefox:
,----[ Ethereal (Follow TCP dump) ]
| GET /journal/index.php HTTP/1.1
| Host: www.pittipat.net
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a1) Gecko/20051003 Firefox/1.6a1
| Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
| Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
| Accept-Encoding: gzip,deflate
| Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
| Keep-Alive: 300
| Connection: keep-alive
| Referer: http://wordpress.org/support/topic/67031
| Cookie: visited=2/30/106
| Cache-Control: max-age=0
|
| HTTP/1.1 200 OK
| Date: Thu, 30 Mar 2006 19:37:26 GMT
| Server: Apache/2.0.50 (Red Hat Linux)
| Set-Cookie: visited=2/30/106; path=/; expires=Wed, 07-Dec-2011 12:40:25 AM GMT
| Connection: close
| Transfer-Encoding: chunked
| Content-Type: text/html; charset=ISO-8859-1
|
| 22
| Content-type: php; charset=UTF-8
|
|
| fe
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml">
|
| <head profile="http://gmpg.org/xfn/11">
|
| <meta http-equiv="Content-Type" content="
`----
Well, it seems to be ok without the absolute URI, just the second
'Content-type: php; charset=UTF-8' thing is too much, but it's not in
the Header. Shouldn't be a problem to delete this line in the theme.
More information about the wp-hackers
mailing list