karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
298 stars 107 forks source link

listener_add Accept-Language #353

Closed mickaelmonsieur closed 1 year ago

mickaelmonsieur commented 3 years ago

Hello, In the listener_add is it possible to add in the POST fields the header "Accept-Language" ? (like useragent) Thanks

karlheyes commented 1 year ago

The headers supplied by the client, if available, will be getting passed through in POST with default prefix of ClientHeader- if the headers option has that set in the list. It was something merged from the xiph tree so I have to document it

so in the above case it should appear as ClientHeader-Accept-Language.