accept say in headers for more length
This commit is contained in:
@@ -80,6 +80,9 @@ func (v01 *V01) globalQueries(r *http.Request) {
|
||||
|
||||
func (v01 *V01) globalQuerySay(r *http.Request) {
|
||||
text := r.URL.Query().Get("say")
|
||||
if text == "" {
|
||||
text = r.Header.Get("say")
|
||||
}
|
||||
if text == "" {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user