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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Docker/DictuAlpineDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN cd Dictu \
&& cmake -DCMAKE_BUILD_TYPE=Release -B build \
&& cmake --build ./build \
&& ./dictu tests/runTests.du \
&& cp dictu /usr/bin/ \
&& rm -rf *
&& cp dictu /usr/bin/ \
&& rm -rf *

CMD ["dictu"]
8 changes: 4 additions & 4 deletions Docker/DictuUbuntuDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ RUN apt-get update \
&& apt-get update \
&& apt-get install -y --reinstall ca-certificates \
&& apt-get install -y --no-install-recommends git cmake libcurl4-gnutls-dev \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*

RUN git clone https://github.com/dictu-lang/Dictu.git

RUN cd Dictu \
&& cmake -DCMAKE_BUILD_TYPE=Release -B build \
&& cmake --build ./build \
&& ./dictu tests/runTests.du \
&& cmake -DCMAKE_BUILD_TYPE=Release -B build \
&& cmake --build ./build \
&& ./dictu tests/runTests.du \
&& cp dictu /usr/bin/ \
&& rm -rf *

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/standard-lib/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parent: Standard Library

## HTTP

To make use of the HTTP module an import is required.
To make use of the HTTP module an import is required. Along with the methods described below, this module also defines constants representing all standard response codes and their associated messages, the standard set of HTTP methods, and common request headers and values.

```cs
import HTTP;
Expand Down
Loading