Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

url record

SVN Revision: 100
  • Loading branch information...
commit ed79763f8ea7fd5098274232c037f70748e79b68 1 parent 662e232
@nniclausse nniclausse authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 include/ts_http.hrl
View
7 include/ts_http.hrl
@@ -23,6 +23,13 @@
%% use by the client to create the request
-record(http_request, {url, cookie=none, method=get, body=[], id = 0 }).
+-record(url,
+ {scheme, %% http, https, ...
+ host,
+ port, %% undefined means use default (80 or 443)
+ path = [],
+ querypart = []}).
+
%% use by the client process to store information about the current request during
%% the parsing of the response
-record(http, {content_length= 0, % HTTP header: content length
Please sign in to comment.
Something went wrong with that request. Please try again.