continued work on html/xmlparser

This commit is contained in:
rumpf_a@web.de 2010-02-14 00:29:35 +01:00
commit 40a5d6c3b9
747 changed files with 440 additions and 192 deletions

8
lib/pure/httpclient.nim Executable file → Normal file
View file

@ -60,14 +60,6 @@ type
## and ``postContent`` proc,
## when the server returns an error
template newException(exceptn, message: expr): expr =
block: # open a new scope
var
e: ref exceptn
new(e)
e.msg = message
e
proc httpError(msg: string) =
var e: ref EInvalidProtocol
new(e)