suchen

Heim  >  Fragen und Antworten  >  Hauptteil

objective-c - DNS解析后Response的Set-Cookie

请求某一地址:http://super.bxr.im/b/goods?anonymous=0&anonymous_id=90668dbc-1ca4-4872-b43e-1fa7489f5d19&channel_id=1&xrk_is_share=0&token=f066ff5a574f17a85d359af574c22a02&f_source=app-index-tool-2&sso_id=3205906

dns解析为:http://122.13.170.7/b/goods?anonymous=0&anonymous_id=90668dbc-1ca4-4872-b43e-1fa7489f5d19&channel_id=1&xrk_is_share=0&token=f066ff5a574f17a85d359af574c22a02&f_source=app-index-tool-2&sso_id=3205906
并设置请求头host:super.bxr.im

请求成功,但是response的Set-Cookie,貌似没保存到。

再请求:http://122.13.170.7/b/commission/3205906?t=1464576038824&ct_sso_id=3205906&ct_channel_id=1&ct_f_source=

没有前一个请求的返回cookie,导致请求失败

这个如何解决?

淡淡烟草味淡淡烟草味2757 Tage vor564

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort