1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-18 13:31:36 +02:00
Commit Graph

15 Commits

Author SHA1 Message Date
adnano
77a556d61e status: Reintroduce StatusSensitiveInput 2021-03-15 15:19:43 -04:00
adnano
7101402517 Remove StatusSensitiveInput 2021-03-08 14:08:45 -05:00
adnano
9318ba666b Make Status a type
Using a type is better than using an integer.
2021-02-20 16:16:32 -05:00
adnano
33953f28e1 status: Fix typo 2021-02-17 12:23:03 -05:00
adnano
e4c50cf9ff Rename Meta to StatusText
Rename Meta to StatusText and support all status codes.
2021-02-17 12:06:43 -05:00
adnano
f8777fdd8a status: Update documentation 2021-02-14 19:28:29 -05:00
adnano
715ce122ef Update Response documentation 2021-02-14 16:23:38 -05:00
adnano
5945788ccd Remove StatusClass* constants
Re-use the existing Status* constants and adjust StatusClass to return a
valid Status.
2021-02-14 16:01:39 -05:00
adnano
ecfb9b2154 Use plain integers to represent status codes 2021-02-09 09:46:13 -05:00
adnano
c76ff83964 Rename status.Message to status.Meta 2021-01-10 00:10:57 -05:00
adnano
d2d28c5f26 Remove Redirect and PermanentRedirect functions
Use (*ResponseWriter).WriteHeader instead.
2020-10-31 16:51:10 -04:00
adnano
a3266487af Refactor client certificates 2020-10-28 13:41:24 -04:00
adnano
748967867f Add Client.GetInput field 2020-10-27 23:35:22 -04: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