【问题标题】:How to send cookie with Erlang httpc如何使用 Erlang httpc 发送 cookie
【发布时间】:2011-07-28 12:53:03
【问题描述】:

如何用erlang http客户端httpc发送cookie内容?

【问题讨论】:

    标签: http cookies erlang


    【解决方案1】:

    我是这样相信的:

    Url = "http://example.org",
    httpc:request(get,  {Url, [{"Cookie", "name1=value1;name2=value2"}]}.
    

    【讨论】:

      猜你喜欢
      • 2013-12-05
      • 2011-09-09
      • 1970-01-01
      • 1970-01-01
      • 2010-12-17
      • 2015-04-02
      • 2015-03-14
      • 2010-09-23
      • 2013-04-06
      相关资源
      最近更新 更多