Skip to content

Commit

Permalink
Merge pull request #113 from treeform/guzba
Browse files Browse the repository at this point in the history
2.1.1
  • Loading branch information
guzba authored Jan 31, 2024
2 parents 9383298 + 3bdd43c commit 5c57e11
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- run: nimble install -y libcurl
- run: nimble install -y zippy
- run: nimble install -y urlly
- run: nimble install -y webby
- run: nim c tests/debug_server.nim

- run: nimble test -y --gc:refc
Expand Down
2 changes: 1 addition & 1 deletion puppy.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "2.1.0"
version = "2.1.1"
author = "Andre von Houck"
description = "Puppy fetches resources via HTTP and HTTPS."
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/puppy/platforms/win32/platform.nim
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ proc internalFetch*(req: Request): Response {.raises: [PuppyError].} =
openRequestFlags = openRequestFlags or WINHTTP_FLAG_SECURE

var objectName = req.url.path
if req.url.search != "":
objectName &= "?" & req.url.search
if req.url.query.len > 0:
objectName &= "?" & $req.url.query

let
wideVerb = req.verb.toUpperAscii().wstr()
Expand Down
2 changes: 1 addition & 1 deletion tests/debug_server.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import asyncdispatch, asynchttpserver, uri, urlly, zippy
import asyncdispatch, asynchttpserver, uri, webby, zippy

let server = newAsyncHttpServer()

Expand Down

0 comments on commit 5c57e11

Please sign in to comment.