projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6036fc1
)
Add User-Agent header to SOAP messages.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 24 Oct 2007 20:26:58 +0000
(20:26 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 24 Oct 2007 20:26:58 +0000
(20:26 +0000)
shibsp/binding/impl/SOAPClient.cpp
patch
|
blob
|
history
diff --git
a/shibsp/binding/impl/SOAPClient.cpp
b/shibsp/binding/impl/SOAPClient.cpp
index
711153a
..
ac4a438
100644
(file)
--- a/
shibsp/binding/impl/SOAPClient.cpp
+++ b/
shibsp/binding/impl/SOAPClient.cpp
@@
-177,7
+177,8
@@
void SOAPClient::prepareTransport(SOAPTransport& transport)
if (http) {
flag = m_settings->getBool("chunkedEncoding");
http->useChunkedEncoding(!flag.first || flag.second);
- http->setRequestHeader("Shibboleth", PACKAGE_VERSION);
+ http->setRequestHeader("User-Agent", PACKAGE_NAME);
+ http->setRequestHeader(PACKAGE_NAME, PACKAGE_VERSION);
}
}