Ah, in that case you're now talking about the content-type on the file itself, which has little to do with staticweb.
$ curl -XPUT -Hx-auth-token:AUTH_tk9dcb85ee914f4de4b81895be369cdabf http://127.0.0.1:8080/v1/AUTH_test/testutf8/%E2%98%83 --data-binary @testfile ... 201 Created ...
$ curl -i http://127.0.0.1:8080/v1/AUTH_test/testutf8/%E2%98%83 ... Content-Type: application/x-www-form-urlencoded ...
$ curl -XPUT -H 'content-type: text/html; charset=UTF-8' -Hx-auth-token:AUTH_tk9dcb85ee914f4de4b81895be369cdabf http://127.0.0.1:8080/v1/AUTH_test/testutf8/%E2%98%83 --data-binary @testfile ... 201 Created ...
$ curl -i http://127.0.0.1:8080/v1/AUTH_test/testutf8/%E2%98%83 ... Content-Type: text/html; charset=UTF-8 ...
Ah, in that case you're now talking about the content-type on the file itself, which has little to do with staticweb.
$ curl -XPUT -Hx-auth- token:AUTH_ tk9dcb85ee914f4 de4b81895be369c dabf http:// 127.0.0. 1:8080/ v1/AUTH_ test/testutf8/ %E2%98% 83 --data-binary @testfile
... 201 Created ...
$ curl -i http:// 127.0.0. 1:8080/ v1/AUTH_ test/testutf8/ %E2%98% 83 x-www-form- urlencoded
...
Content-Type: application/
...
$ curl -XPUT -H 'content-type: text/html; charset=UTF-8' -Hx-auth- token:AUTH_ tk9dcb85ee914f4 de4b81895be369c dabf http:// 127.0.0. 1:8080/ v1/AUTH_ test/testutf8/ %E2%98% 83 --data-binary @testfile
... 201 Created ...
$ curl -i http:// 127.0.0. 1:8080/ v1/AUTH_ test/testutf8/ %E2%98% 83
...
Content-Type: text/html; charset=UTF-8
...