BottleRocketStudios / iOS-Hyperspace

An extremely lightweight wrapper around URLSession to make working with APIs a breeze.
Apache License 2.0
47 stars 17 forks source link

Handle empty responses #113

Closed earlgaspard closed 2 years ago

earlgaspard commented 4 years ago

Implement a way for Hyperspace to handle empty responses easily.

tylermilner commented 4 years ago

This is currently possible. Is this ticket more about tracking improved functionality for the Hyperspace rewrite?

earlgaspard commented 4 years ago

It is currently possible but not ideal. My project had to create its own empty response and use force casting to get this to work. Definitely should go in the rewrite.