Hello.
I'm using apache2/mod_wsgi to drive a django project that aims to
implement/extend the OpenStack Object Storage API. In OpenStack Object
Storage they use arbitrary X-Object-Meta-<key>=<value> headers to
assign metadata to objects.
While the embedded django server allows utf8 characters in the
headers, I have found that when I post utf8 to the apache/mod_wsgi
installation, I receive an underscore ('_') in place of every non-
ascii character. I traced this to the wsgi_http2env() function, which
converts all non letter or number characters to '_'.
For example, when posting 'X-Object-Meta-ασδφ=a', I get
'HTTP_X_OBJECT_META_________=a'.
Is wsgi_http2env() really the source of this? If yes, why does
mod_wsgi keep only letters and numbers?
This is really a problem, as I can not even use url encoding - '%'s
are converted to '_' as well.
Thanks,
Antony
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.