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

update http module with requests, methods, and statuses #485

Merged
merged 3 commits into from
Dec 26, 2021

Conversation

briandowns
Copy link
Contributor

@briandowns briandowns commented Dec 26, 2021

Signed-off-by: Brian Downs brian.downs@gmail.com

Well detailed description of the change :

Resolves:

Type of change:

Adds access to common headers, response codes, and messages.

  • Bug fix

  • New feature

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Housekeeping

  • Tests have been updated to reflect the changes done within this PR (if applicable).

  • Documentation has been updated to reflect the changes done within this PR (if applicable).

Preview (Screenshots) :

Signed-off-by: Brian Downs <brian.downs@gmail.com>
Signed-off-by: Brian Downs <brian.downs@gmail.com>
@briandowns
Copy link
Contributor Author

I can update docs if this changes is deemed acceptable.

@@ -0,0 +1,3 @@
import HTTP;

assert(HTTP.STATUS_OK == 200);
Copy link
Member

Choose a reason for hiding this comment

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

Remember to add this file to: https://github.com/dictu-lang/Dictu/blob/develop/tests/http/import.du

Other than that looks fine to me! I wonder how we can add all of these to the docs without making the page too unmanageable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I took a stab at some verbiage to describe the added functionality in the docs. If you want it very explicit, I'm happy to do so.

Copy link
Member

Choose a reason for hiding this comment

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

I'm pretty happy with that to be honest. I think listing out every constant on the page would be a bit much, thanks!

Signed-off-by: Brian Downs <brian.downs@gmail.com>
@Jason2605 Jason2605 merged commit e008a7c into dictu-lang:develop Dec 26, 2021
@Jason2605 Jason2605 mentioned this pull request Dec 29, 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.

None yet

2 participants