Changes

Jump to navigation Jump to search
49 bytes removed ,  15:09, 6 February 2015
no edit summary
|-
| '''Summary'''
|Sends an HTTP request and interprets the corresponding response. {{Code|$request}} contains the parameters of the HTTP request such as HTTP method and headers. In addition to this it can also contain the URI to which the request will be sent and the body of the HTTP method. If the URI is not given with the parameter {{Code|$href}}, its value in {{Code|$request}} is used instead. <br/>The structure of {{Code|http:request}} element follows the [http://expath.org/spec/http-client EXPath] specification. Since {{Version|8.0}}, digest authentication is supported as well.
|-
|'''Errors'''
|{{Error|HC0001|#Errors}} an HTTP error occurred.<br/>{{Error|HC0002|#Errors}} error parsing the entity content as XML or HTML.<br/>{{Error|HC0003|#Errors}} with a multipart response, the override-media-type must be either a multipart media type or application/octet-stream.<br/>{{Error|HC0004|#Errors}} the src attribute on the body element is mutually exclusive with all other attribute (except the media-type).<br/>{{Error|HC0005|#Errors}} the request element is not valid.<br/>{{Error|HC0006|#Errors}} a timeout occurred waiting for the response.
|-
| '''Notes'''
|The attribute {{Code|auth-method}} of {{Code|$request}} is not considered in our implementation because we are handling only basic authentication.
|}
=Changelog=
 
;Version 7.6
* Added: digest authentication
;Version 7.6
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu