Ticket #126 (closed defect: fixed)
extra newline when using camping as cgi in apache
| Reported by: | till | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | camping.rb | Version: | |
| Keywords: | Cc: |
Description
When using a webapplication with camping as a cgi in apache, there are extra newlines "\r\n" in the output files. This breaks some downloads, e.g. pdf files. The attached patch fixes this, but I do not know, whether or not this breaks using the application standalone, because then there are no extra newlines. Attached is a patch that fixes this. The extra newline seems to be included in changeset:117 so maybe it is needed in other cases. With this path it works with fastcgi and lighttpd, too. Which is the setup I use now.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
