Adnan Maolood
|
a65c3c3d4f
|
Make ResponseWriter a struct
Make ResponseWriter a struct again so that it can be extended in a
backwards-compatible way.
|
2021-02-23 20:41:16 -05:00 |
|
Adnan Maolood
|
ae3fc2fc73
|
response: Add Close method
|
2021-02-23 17:32:23 -05:00 |
|
Adnan Maolood
|
1aa85d0683
|
timeout: Don't recover from panics
|
2021-02-23 15:30:44 -05:00 |
|
Adnan Maolood
|
2c64db3863
|
Rename ResponseWriter.MediaType to SetMediaType
|
2021-02-21 18:52:06 -05:00 |
|
Adnan Maolood
|
c3feafa90b
|
Move Flush back to ResponseWriter
|
2021-02-21 16:06:56 -05:00 |
|
Adnan Maolood
|
8938038797
|
Make Status a type
Using a type is better than using an integer.
|
2021-02-20 16:16:32 -05:00 |
|
Adnan Maolood
|
99a8f09c22
|
TimeoutHandler: Use provided context
|
2021-02-20 15:52:54 -05:00 |
|
Adnan Maolood
|
e9a68917c9
|
handler: Make ServeGemini accept a Context
|
2021-02-20 15:49:14 -05:00 |
|
Adnan Maolood
|
3f4fd10b6d
|
client: Make Get and Do accept a Context
This removes the need for Request.Context.
|
2021-02-20 15:34:21 -05:00 |
|
Adnan Maolood
|
5922cff2e5
|
Implement TimeoutHandler
|
2021-02-20 00:49:21 -05:00 |
|