aboutsummaryrefslogtreecommitdiff
path: root/src/http.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2.0 alpha RELEASED!Diego Nehab2004-06-181-12/+11
|
* Implemented safe exceptions. This looks preeety good.Diego Nehab2004-06-181-27/+28
|
* smtp.c was eatten by mime.cDiego Nehab2004-06-171-5/+0
|
* HTTP now has only one function.Diego Nehab2004-06-161-11/+8
|
* Simplified HTTP module.Diego Nehab2004-06-161-72/+66
|
* Fixed smtp.lua loading.Diego Nehab2004-06-161-5/+2
| | | | | Adjusted tftp module. Added some comments.
* Manual is almost done. HTTP is missing.Diego Nehab2004-06-151-204/+147
| | | | | | | Implemented new distribution scheme. Select is now purely C. HTTP reimplemented seems faster dunno why. LTN12 functions that coroutines fail gracefully.
* Só pra não perder se der merda.Diego Nehab2004-06-041-29/+28
|
* Fine tuning the "require" business.Diego Nehab2004-05-301-0/+2
|
* Changed require"luasocket" to require"socket".Diego Nehab2004-05-281-1/+1
|
* Almost there.Diego Nehab2004-05-281-2/+1
|
* Committing with require.Diego Nehab2004-05-281-2/+8
|
* FTP low-level working.Diego Nehab2004-05-251-6/+8
| | | | | SMTP connection oriented working. ltn12 improved.
* Using socket pumps in http.lua.Diego Nehab2004-03-261-110/+28
| | | | Adjusted socket.try.
* Settimeout wasn't returning 1...Diego Nehab2004-03-221-62/+60
| | | | http.lua is even cleaner. No trash in respt table.
* Adjusted some details, got rid of old files, added some new.Diego Nehab2004-03-221-18/+23
|
* Changed receive function. Now uniform with all other functions. Returns nilDiego Nehab2004-03-211-524/+209
| | | | | | on error, return partial result in the end. http.lua rewritten.
* New filter scheme.Diego Nehab2004-03-161-115/+104
| | | | | ltn12 and mime updated. smtp/ftp broken.
* Worked on the manual.Diego Nehab2004-02-041-1/+1
| | | | | Implemented stuffing (needs test) Added cddb and qp examples.
* Added gethostname.Diego Nehab2004-01-191-17/+38
| | | | | Cleaned up TODO. Moved luasocket specific stuff from auxiliar.c to luasocket.c
* Updated some of the callbacks in callback.lua.Diego Nehab2004-01-191-12/+13
| | | | | | | | | | Update get.lua to use the new callbacks. The old "code" module is now the "mime" module. Updated all modules that depended on it. Updated url.lua to use the new namespace scheme, and moved the escape and unescape functions that used to be in the code.lua module to it, since these are specific to urls. Updated the callback entries in the manual.
* Added proxy support to http.luaDiego Nehab2004-01-191-22/+36
| | | | | Changed callback.lua module, but need more work. Added local connect support.
* Added new filter to code.c, to convert between line conventions.Diego Nehab2004-01-181-1/+1
|
* Trying to get connect-with-timeout to work. Darwin works...Diego Nehab2004-01-181-1/+7
|
* http.lua updated. still needs proxy support.Diego Nehab2004-01-161-262/+264
| | | | code.lua updated. looks neat.
* Killed a few bugs found by Tomas.Diego Nehab2003-11-271-2/+3
|
* Starting to use RCS in princeton again. Not behind a firewall anymore.Diego Nehab2003-08-311-22/+18
|
* Adjusted a few inconsistencies with the manual.Diego Nehab2003-08-161-1/+1
|
* Finished implementation of LuaSocket 2.0 alpha on Linux.Diego Nehab2003-06-261-1/+1
| | | | Some testing still needed.
* Porting to LUA 5.0 finalDiego Nehab2003-05-251-19/+16
|
* Closer to release...Diego Nehab2003-03-281-1/+0
|
* Finish port to Lua 5. Everything is working fine.Diego Nehab2003-03-201-5/+5
| | | | Still doesn't work in Windows.
* Faltam testes de ftp e smtp. O resto passa.Diego Nehab2002-12-031-3/+3
|
* Already compiling and running for Lua 5.0 (alpha)Diego Nehab2002-12-021-10/+10
|
* Updated for Lua 4.1-w3.Diego Nehab2002-07-081-54/+55
| | | | Dealing with 100 response codes.
* Removed wrong host header in redirect.Diego Nehab2001-09-261-3/+11
| | | | | Passing location header back to callee after redirect. Added correct scheme test.
* HTTP.request was not returning response for body-less requests.Diego Nehab2001-09-181-19/+20
|
* Changed HTTP.get and HTTP.post to return status code instead ofDiego Nehab2001-09-181-4/+4
| | | | status line information. Who cares about the rest of the line, anyways...
* Simple HTTP functions can deal with table arguments also.Diego Nehab2001-09-121-30/+71
|
* Minor documentation changes.Diego Nehab2001-08-071-52/+52
| | | | | Constants were moved to Public table. Updated to use new fast concatenation module (concat.lua).
* Rewritten to comply to LTN7 (Modules & Packages).Diego Nehab2001-07-291-245/+311
| | | | | | | | | As a result, there have been some API changes. Parameter and return values are now passed inside tables. Automatic redirection and automatic authentication are better controlled, with loop detection. Implementation is more RFCish, conforming to RFC2616. URL parsing has been moved to an external library, to be shared with FTP.
* Block size increased.Diego Nehab2001-06-071-1/+1
|
* Streaming by callbacks implemented.Diego Nehab2001-06-061-158/+231
|
* HTTP message bodies are transfered using a callback to return body partsDiego Nehab2001-05-211-114/+200
| | | | chunk by chunk.
* HTTP is now generic, with function http_request.Diego Nehab2001-01-251-167/+258
| | | | RFC is more strictly followed.
* Initial revisionDiego Nehab2000-12-291-0/+312