[Cppcms-users] Get HTTP Headers of Request
Brought to you by:
artyom-beilis
|
From: Julian P. <ju...@wh...> - 2010-08-25 10:29:45
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
how can I get a certain header sent with the client's request? I was
looking for a method like std::string request().header("which-header");,
but didn't find a method like this.
Could one please point me to the method I can use to get a http header?
The problem is, that it's a custom header, so the methods from
http::request for standard headers won't suffice.
Thanks,
Julian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJMdPCPAAoJENidYKvYQHlQBvwQAK+eWPqeP/bayq8oNQ9Wg1+F
wSLEBDQNBCbxQaYSVuy/b5eRluRMajlTO01YUtTB3FONPXUnemx9H3qQLE4WRO3w
s8JyQVjys5yNJxKp8N2KeuhW6+x3RMyZugyK7KUdN2jJKpW1KZE3I5vdAFOqZkPl
TthVw1Xt91FhU72K21muP+N4zFPScev01q90BuFvnl2WkTqqNTAYV/8Eh4cZMlVo
9ujVEP7WKagA4rw2M3DcTKTCDuMJzxu6k/QhYCTZ3eZOMplo2GztXkcODT40HFnn
ZPRnCQRT9NRgNlj9I0EZ3Re7UONbXvvDNSBs/1xYQApqB3/SoWIayqRebi+wox+n
eIhiwuUS1TgPMoGV5/rqQqqzYdS6HOaakirD1hTJHehKwRY8lvKz4xWSH393cZME
4sLjYAKC/i3Bi+F+Bzj5JacnMHfYMFJicz2GlkslEjBeogdOFD6eakEtQ0/2UCFM
DDywIdx3Ppf7f+nd6FXpVzSK1b4T7VEuQ65zjv+4jg0cNGpYznv+D1kdYs376vby
w55pfTyatLwXQtN7GhQN1R+obnx/tSjdbO/sGYKc8erNEqZB7gwrCa+vTL4FuIIe
jsKdXk68M1xlFuh67WWQcxg+ZYZFwj7N8YDAfljfpTccHmPymGmbHVq8T62ALxJt
OINSzO+zvh82S9AYpsxT
=uwT0
-----END PGP SIGNATURE-----
|