Re: Strange behavior with content-type text/plain while POST files
Shugo Maeda <[email protected]> Tue, 17 Aug 2004 09:55:27 +0900
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Florian Krupicka wrote:
> When i deliver text/plain back to the browser (i do so while testing my
> classes for easy and fast debug output) and the request-type is a POST
> then modruby/apache delivers the text-output "binary", that is the
> browser wants to download the incoming data instead of putting it on
> screen directly. For GET-type requests everything is delivered as
> expected. Its also no difference between x-www-form-urlencoded and
> multipart POSTs. Same bug.
I tested by the following HTML, but I could get `Content-Type: text/plain'.
<html>
<body>
<form action="/ruby/test.rb" method="POST">
<input type="hidden" name="foo" value="bar">
<input type="submit">
</form>
</body>
</html>
Can you show me your HTML?
Then, please tell me the actual value of the Content-Type header field.
Shugo