#1014: AgaviWebRequest HTTP PUT support ignores Content-Type header
---------------------+------------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 0.11.6
Component: request | Version: 0.11.5
Severity: minor | Keywords:
Has_patch: 0 |
---------------------+------------------------------------------------------
It stuffs the PUT data into an {{{AgaviUploadedFile}}} object and blindly
sets the {{{type}}} to "application/octet-stream". It should instead read
the {{{Content-Type}}}Â request header, if present, and fall back to
"text/plain; charset=us-ascii" as defined in
[[http://tools.ietf.org/html/rfc2045#section-5.2 RFC 2045 section 5.2]]
--
Ticket URL: <http://trac.agavi.bitxtender.net/ticket/1014>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets