Skip to content

Commit

Permalink
Merge pull request #485 from briandowns/http_module_update
Browse files Browse the repository at this point in the history
update http module with requests, methods, and statuses
  • Loading branch information
Jason2605 committed Dec 26, 2021
2 parents fe804b7 + 2d17379 commit e008a7c
Show file tree
Hide file tree
Showing 6 changed files with 470 additions and 8 deletions.
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

0 comments on commit e008a7c

Please sign in to comment.