~ories/+junk/net-cpp-curl-multi_http_header_support

« back to all changes in this revision

Viewing changes to src/core/net/http/impl/curl/client.cpp

  • Committer: Olli Ries
  • Date: 2014-04-24 04:28:50 UTC
  • Revision ID: olli@olli-ries.net-20140424042850-xo6vrd5nkme2st86
implementingĀ CURLOPT_HTTPHEADER

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
{
70
70
    ::curl::easy::Handle handle;
71
71
    handle.method(http::Method::get)
72
 
            .url(configuration.uri.c_str());
 
72
            .url(configuration.uri.c_str())
 
73
            .header(configuration.header);
73
74
 
74
75
    if (configuration.authentication_handler.for_http)
75
76
    {