Ticket #201 (closed defect: fixed)
wdg_validate throws exception when Content-Type header is not present
| Reported by: | Jim Dabell | Owned by: | ianb |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.2 |
| Component: | paste | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
wdg_validate calls string methods on the Content-Type header, which fails when a header has not been set. This patch makes it skip validation for content that has no Content-Type header, which has the same effect as when an unrecognised Content-Type header is found.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

