[Bug 65921] Null pointer exception if RewriteRule attempts to set mime type

2022-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65921 --- Comment #4 from Mark Thomas --- The portable way would be to use a Filter and wrap the HttpServletRequest. -- You are receiving this mail because: You are the assignee for the bug. -

[Bug 65921] Null pointer exception if RewriteRule attempts to set mime type

2022-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65921 --- Comment #3 from Richard Evans --- The use case here was to fix up the content-type in a request before it reaches he application (the client code was sending the wrong type). If this RewriteRule mechanism is in fact designed to set the res

[Bug 65921] Null pointer exception if RewriteRule attempts to set mime type

2022-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65921 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 65921] Null pointer exception if RewriteRule attempts to set mime type

2022-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65921 --- Comment #1 from Mark Thomas --- This should be setting the content-type on the response rather than the request. -- You are receiving this mail because: You are the assignee for the bug. ---

[Bug 65921] Null pointer exception if RewriteRule attempts to set mime type

2022-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65921 Richard Evans changed: What|Removed |Added Summary|Null pointer exception if |Null pointer exception if