swifter icon indicating copy to clipboard operation
swifter copied to clipboard

Tiny http server engine written in Swift programming language.

Results 123 swifter issues
Sort by recently updated
recently updated
newest added

#### Description When requests are sent with `Connection: Keep-Alive`, they can be kept indefinitely if the client exhibits unusual circumstances. #### To recreate: ###### Server Simple server running on linux...

If swifter adapts to https it will be a great add on. This has the potential to become the goto library for mocking data in XCUITests.

enhancement

I was having trouble serving files from a location using shareFilesFromDirectory and tracked it down to a couple of lines in Socket+File.swift. This may be completely the wrong solution and...

bug
need-investigation

Recently I was helping in #386 with two cases I once I tested the Demo projects they gave me to reproduce the issue I noticed the functions: * `shareFilesFromDirectory` *...

enhancement

The library is parsing the query params but then not using them to match. Problem is: `http://example.com/search/location?city=chi` is the same as `http://example.com/search/location?city=nyc` to swifter

enhancement
new-feature

The HTTP response from a route that is served via the `shareFilesFromDirectory` function looks like so: ``` HTTP/1.1 200 OK Server: Swifter [version] [response-content-goes-here] ``` At a minimum there should...

enhancement

I'm using javascript websockets (Firefox) to send and receive text data to and from a swifter websocket: this.Websocket = new WebSocket("ws://" + window.location.host + "/ws") this.Websocket.send( "xxx" ) this all...

need-investigation

Not an issue. A help request. This may be a long shot - but has anyone successfully got this working with SocketIO? I know SocketIO is finicky about server engines,...

https://tools.ietf.org/html/rfc2616#section-4.2 Currently all the headers key are lowered case.

new-feature