adnano
|
3c07af62f7
|
server: Populate Request.Host field
|
2021-02-20 18:12:51 -05:00 |
|
adnano
|
b19cfcad16
|
server: Make Request.RemoteAddr a net.Addr
A concrete type is better.
|
2021-02-20 16:27:35 -05:00 |
|
adnano
|
bb51cd4eb6
|
client: Make Get and Do accept a Context
This removes the need for Request.Context.
|
2021-02-20 15:34:21 -05:00 |
|
adnano
|
e3cb6a067e
|
server: Make Request.RemoteAddr a string
|
2021-02-20 13:31:55 -05:00 |
|
adnano
|
180605cd5f
|
client: Allow Request.Host to omit a port
|
2021-02-20 13:30:55 -05:00 |
|
adnano
|
e38ab376f7
|
request.Write: Accept an io.Writer
|
2021-02-18 21:58:37 -05:00 |
|
adnano
|
48e5ca5701
|
request.Write: return error from Flush
|
2021-02-18 21:54:38 -05:00 |
|
adnano
|
087c8a62e7
|
request: Allow User in URLs
|
2021-02-16 00:55:56 -05:00 |
|
adnano
|
317faffdeb
|
Remove NewRequestFromURL method
Use a Request struct literal instead.
|
2021-02-15 17:23:56 -05:00 |
|
adnano
|
924bb31496
|
request: Don't read more than 1026 bytes
|
2021-02-15 00:16:21 -05:00 |
|
adnano
|
b8a6078815
|
Tweak returned error for requests that are too long
Return ErrInvalidRequest instead of ErrInvalidURL in Request.Write.
|
2021-02-14 23:33:18 -05:00 |
|
adnano
|
2bb0725cc4
|
Make Request.Host optional
|
2021-02-14 19:02:34 -05:00 |
|
adnano
|
8c35c85ab2
|
server: Don't populate Request.Certificate field
Handlers should instead use the certificate provided in Request.TLS.
|
2021-02-14 17:34:57 -05:00 |
|
adnano
|
128cf1b6ec
|
Update documentation
|
2021-02-14 15:50:41 -05:00 |
|
adnano
|
d93adc7908
|
Make TLS field nil for unencrypted connections
|
2021-02-08 12:32:49 -05:00 |
|
adnano
|
106d0b1c1d
|
Update comments
|
2021-01-10 01:07:38 -05:00 |
|
adnano
|
c35dc332d3
|
Update Request documentation
|
2020-12-18 01:43:18 -05:00 |
|
adnano
|
cc962586d4
|
Add ReadRequest and ReadResponse functions
|
2020-12-18 01:42:05 -05:00 |
|
adnano
|
b9a9b65d0b
|
Expose Request.Write and Response.Read functions
|
2020-12-18 01:14:06 -05:00 |
|
adnano
|
70bb9c4e59
|
Allow Request.Context to be nil
|
2020-12-17 17:16:55 -05:00 |
|
adnano
|
d37431fd29
|
Fix escaping of queries
|
2020-11-27 22:27:52 -05:00 |
|
adnano
|
611af9f6ed
|
Add context to requests
|
2020-11-26 00:42:25 -05:00 |
|
adnano
|
1fb24b625f
|
Remove some unnecessary errors
|
2020-11-04 23:46:05 -05:00 |
|
adnano
|
386b1c56da
|
server: Populate (*Request).Certificate field
|
2020-11-01 16:25:59 -05:00 |
|
adnano
|
75506c176c
|
Reject schemes other than gemini:// in NewRequest
|
2020-10-27 21:18:05 -04:00 |
|
adnano
|
d713e95251
|
Add (*Client).Get function
|
2020-10-27 19:22:34 -04:00 |
|
adnano
|
1293b2467a
|
Add NewRequestFromURL function
|
2020-10-27 13:27:52 -04:00 |
|
adnano
|
6cccba3800
|
Rename repository to go-gemini
|
2020-10-24 15:15:32 -04:00 |
|
adnano
|
dda63807b5
|
Refactor
|
2020-10-21 17:07:28 -04:00 |
|