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

feat: add support for get, getAll, has and set #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

char0n
Copy link

@char0n char0n commented Apr 30, 2020

Following signatures have not been implemented in this PR:

append(name, blobValue, filename)
set(name, blobValue, filename)

The reason they have not been implemented is to keep the simplicity of first implementation. Those signatures can be added later as additional layer.

To implement this PR I followed the spec at https://xhr.spec.whatwg.org/#create-an-entry.

Let me know if this is something you want inside a library. If I get a green light, I'll implement the tests and in second PR later I'll add the two missing signatures.

Following signatures have not been implemented in this PR:

append(name, blobValue, filename)
set(name, blobValue, filename)
@coveralls
Copy link

Coverage Status

Coverage decreased (-4.9%) to 93.305% when pulling d9e67c8 on char0n:char0n/additional-methods into d702625 on form-data:master.

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.

None yet

2 participants