Closed veksha closed 3 years ago
import puppy var u = parseUrl("https://www.google.com#1") #u.fragment = "" #workaround. puppy should not send URI fragments to server let req = Request(url: u,verb: "get") echo fetch(req).body[0..180]
output:
<!DOCTYPE html> <html lang=en> <meta charset=utf-8> <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"> <title>Error 404 (Not Found)!!1</title>
Fixed https://github.com/treeform/puppy/pull/18
Thank you for reporting the issue!
output: