We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9407400 commit dfc552bCopy full SHA for dfc552b
quackpipe.go
@@ -1,7 +1,6 @@
1
package main
2
3
import (
4
- "crypto/sha256"
5
"bufio"
6
"database/sql"
7
_ "embed"
@@ -336,13 +335,15 @@ func main() {
336
335
default_params = r.URL.Query().Get("default_params")
337
}
338
// auth to hash based temp file storage
+ /*
339
username, password, ok := r.BasicAuth()
340
if ok && len(password) > 0 {
341
hash := sha256.Sum256([]byte(username + password))
342
hashdb, _ := fmt.Printf("/tmp/%x.db", hash)
343
repath := regexp.MustCompile(`(.*?)\?`)
344
default_params = repath.ReplaceAllString(default_params, repath+"?")
345
346
+ */
347
// extract FORMAT from query and override the current `default_format`
348
cleanquery, format := extractAndRemoveFormat(query)
349
if len(format) > 0 {
0 commit comments