help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] Origin header patch & header question


From: Saint-Genest Gwenael
Subject: [help-cgicc] Origin header patch & header question
Date: Fri, 25 Mar 2016 10:13:52 +0100
User-agent: Roundcube Webmail/0.8.5

Hi,

  For my target application, i must implement CORS. To respond
the right Access-*-Origin it is necessary to get the Origin from
the request header. The small attached patch add an accessor to
CgiEnvironment

  Actually, each known and supported header have a dedicated
member into Environment. Today, there is a lot of application
specific header that can be used, so, i think a more generic
way to read headers could be better. Opinions ? Comments ?

Regards,

G. Saint-Genest

Attachment: env-origin.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]