Matthew Wild
|
e45610ce6e
|
Add copyright header to those files missing one
|
2009-07-10 03:08:38 +01:00 |
|
Matthew Wild
|
12d17990b6
|
net.http: (Re-)add url[en|de]code functions
|
2009-06-12 11:21:11 +01:00 |
|
Matthew Wild
|
2fff098959
|
Merge with 0.4
|
2009-05-04 19:57:05 +01:00 |
|
Matthew Wild
|
ef5e994b1f
|
net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes)
|
2009-05-04 19:53:31 +01:00 |
|
Matthew Wild
|
c8addd5dd0
|
net.http: Fix potential nil access
|
2009-04-22 20:29:35 +01:00 |
|
Waqas Hussain
|
9357b3fc3e
|
Fixed: net/http.lua: HTTP request callback wasn't being called on some errors
|
2009-03-30 01:55:56 +05:00 |
|
Matthew Wild
|
51fd2073f8
|
net.http: Don't throw error on invalid URLs. Fixes #56.
|
2009-03-21 23:48:09 +00:00 |
|
Matthew Wild
|
c0dbcb4389
|
Port to new server.lua, quite some changes, but I believe everything to be working
|
2009-01-17 04:45:08 +00:00 |
|
Matthew Wild
|
5da8d03077
|
net.http: custom_headers -> headers
|
2009-01-16 23:34:45 +00:00 |
|
Matthew Wild
|
b0f1c38d96
|
net.http: Don't log content from server
|
2009-01-15 04:10:06 +00:00 |
|
Matthew Wild
|
661b30bfc7
|
net.http: Fix to send query part of URL to server
|
2009-01-15 04:08:06 +00:00 |
|
Matthew Wild
|
06ffda1881
|
net.http: Fix for callbacks being triggered multiple times for the same request
|
2009-01-14 03:06:26 +00:00 |
|
Matthew Wild
|
6b15ed47fd
|
Protected call for HTTP request callbacks, to catch errors
|
2009-01-08 02:04:06 +00:00 |
|
Matthew Wild
|
a3661957b6
|
Fix to prevent calling HTTP request callback twice with the same data
|
2009-01-08 02:02:35 +00:00 |
|
Matthew Wild
|
cabcee1bd0
|
HTTP requests now have status code as a number instead of a string. Switched parameters on both http.request() and the callback to better match LuaSocket's http module
|
2008-12-25 03:05:06 +00:00 |
|
Matthew Wild
|
97c4dc41bd
|
Fix nil status code for http request callbacks
|
2008-12-22 22:01:49 +00:00 |
|
Waqas Hussain
|
d3d9a986ba
|
Fixed URL encoding to generate %0x instead of %x
|
2008-12-16 03:46:17 +05:00 |
|
Matthew Wild
|
3f57f03f11
|
Oops, don't call server.loop() because we'll be running inside the server
|
2008-12-12 04:38:22 +00:00 |
|
Matthew Wild
|
d18299fec9
|
Pass HTTP request object to callback
|
2008-12-12 04:30:35 +00:00 |
|
Matthew Wild
|
4b6cff1b8d
|
HTTP request callbacks now: handler(code, content) (where code may be 0, and content an error message)
|
2008-12-12 04:16:35 +00:00 |
|
Matthew Wild
|
48891b0925
|
Non-blocking HTTP requests (adding net.http)
|
2008-12-12 04:06:15 +00:00 |
|