diff options
Diffstat (limited to 'src/afb-hsrv.c')
-rw-r--r-- | src/afb-hsrv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-hsrv.c b/src/afb-hsrv.c index 12a7fdd3..9d838381 100644 --- a/src/afb-hsrv.c +++ b/src/afb-hsrv.c @@ -142,6 +142,7 @@ static int access_handler( hreq->connection = connection; hreq->method = method; hreq->version = version; + hreq->lang = afb_hreq_get_header(hreq, MHD_HTTP_HEADER_ACCEPT_LANGUAGE); hreq->tail = hreq->url = url; hreq->lentail = hreq->lenurl = strlen(url); *recordreq = hreq; |