Re: Content-Type header required for POST?

From: Date: Tue, 26 Oct 2004 06:45:23 +0000
Subject: Re: Content-Type header required for POST?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-200322@lists.php.net to get a copy of this message
Chris Shiflett wrote:
--- Olaf van der Spek <OlafvdSpek@GMail.Com> wrote:
Content-Type is required for any request that has content. It's an HTTP requirement and has very little to do with PHP. Can you explain what you're talking about?
I was talking about the request, not about the response.
As was I. That's why I used the word request. :-)
I'm sorry, I misunderstood 'thas has content'.
You'll have a very tough time getting an answer if you can't explain your question. That's the only helpful hint I can provide.
The reason I'm asking is that I've got a small application that does a POST request without that header and it used to work fine and not it doesn't. So I was wondering in which version PHP changed this behaviour.
Chris ===== Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly     HTTP Developer's Handbook - Sams
Coming December 2004        http://httphandbook.org/


« previous php.general (#200322) next »