码迷,mamicode.com
首页 > 其他好文 > 详细

[SoapUI] Understanding REST Headers and Parameters

时间:2015-06-23 17:21:23      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:

Header Field NameDescriptionExample
Accept Content-Types that are acceptable for the response Accept: text/plain
Accept-Charset Character sets that are acceptable Accept-Charset: utf-8
Accept-Encoding List of acceptable encodings Accept-Encoding: gzip, deflate
Accept-Language List of acceptable human languages for response Accept-Language: en-CA
Cookie an HTTP cookie previously sent by the server with Set-Cookie Cookie: $Version=1; Skin=new;
Content-Length The length of the request body in octets (8-bit bytes) Content-Length: 348
Content-MD5 A Base64-encoded binary MD5 sum of the content of the request body Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==
Content-Type The MIME type of the body of the request (used with POST and PUT requests) Content-Type: application/x-www-form-urlencoded
Date The date and time that the message was sent Date: Tue, 15 Nov 1994 08:12:31 GMT
Authorization Authentication credentials for HTTP authentication Authorization:
OAuth realm="http://sp.example.test/",

oauth_consumer_key="0685bd9184jfhq22",
  oauth_token="ad180jjd733klru7",
  oauth_signature_method=
"HMAC-SHA1",

oauth_signature="wOJIO9A2W5mFwDgiDvZb
TSMK%2FPY%3D",
  oauth_timestamp="137131200",

oauth_nonce="4572616e48616d6d65724c
61686176",
  oauth_version="1.0"
WWW-Authenticate Indicates the authentication scheme that should be used to access the requested entity WWW-Authenticate: OAuth realm="http://sp.example.test/"

[SoapUI] Understanding REST Headers and Parameters

标签:

原文地址:http://www.cnblogs.com/MasterMonkInTemple/p/4595489.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!