Michael Smith <[EMAIL PROTECTED]> writes: > > HTTP/1.0 204 No Content > > Server: Apache Tomcat/4.1.18 (HTTP/1.0 Connector) > > Set-Cookie: sdata=f2ea42:f3c29a84c6:-7fd8;Expires=Thu, 06-Mar-2003 11:11:41 > > GMT;Path=/ > > The bit between "<html></html>" is the actual content of the file I > > am > > > sending and yet I get a "No Content" back. > > Slide is arguably incorrect here, but it's not a completely > unreasonable response. The best would probably be 'Created' (I'm not > going to bother looking up the status code for that right now), but > 'No Content' is not incorrect as far as I know. This means it worked.
I would argue, that 201 (Created) is the correct answer, if there was no resource at this URL before, and 204(No content) if a resource was replaced by a new one. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
