ae.net.http.common

Concepts shared between HTTP clients and servers.

Public Imports

ae.net.ietf.url
public import ae.net.ietf.url : UrlParameters, encodeUrlParameter, encodeUrlParameters, decodeUrlParameter, decodeUrlParameters;

Members

Classes

HttpRequest
class HttpRequest

HTTP request class

HttpResponse
class HttpResponse

HTTP reply class

Enums

HttpStatusCode
enum HttpStatusCode

HTTP response status codes

Functions

cacheForever
void cacheForever(Headers headers)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeMultipart
MultipartPart[] decodeMultipart(Data data, string boundary)
Undocumented in source. Be warned that the author may not have intended to support it.
disableCache
void disableCache(Headers headers)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeMultipart
Data encodeMultipart(MultipartPart[] parts, string boundary)
Undocumented in source. Be warned that the author may not have intended to support it.
httpEscape
string httpEscape(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
httpTime
string httpTime(SysTime time)
Undocumented in source. Be warned that the author may not have intended to support it.
parseItemList
string[] parseItemList(string s)

Parses a list in the format of "a, b, c;q=0.5, d" and returns an array of items sorted by "q" (["a", "b", "d", "c"])

Structs

MultipartPart
struct MultipartPart
Undocumented in source.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Stéphan Kochen <stephan@kochen.nl> Vladimir Panteleev <vladimir@thecybershadow.net> Simon Arlott