Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dictionary type to percent encoding #31

Merged

Conversation

bfolkens
Copy link
Contributor

@bfolkens bfolkens commented Apr 8, 2021

This PR fixes #30 by adding the ability to encode nested dictionary objects in the following format:

key[subkey1]=value1&...

@s4cha
Copy link
Member

s4cha commented Sep 17, 2021

@bfolkens This is a great catch! Exposing an issue and providing a clean fix in a PR, what's more to ask really 👏
PS: Please excuse the time it took to review this!

import XCTest
import Networking

final class ParamsTests: XCTestCase {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 1 for the associated unit tests 🥇

@s4cha s4cha merged commit 6c4726b into freshOS:master Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parameter encoding should allow for nested objects
2 participants