Skip to content

KoichiHaradaEndor/HTTPServer

Repository files navigation

4Dv18R3 and above MIT license

HTTPServer

Overview

4D Component which includes methods to help your web developing.

Description

By Installing this component into your 4D project, several methods are added to your 4D project, in order for making web developing easier.

Requirement

4D v18R3 or above

Note: This component uses new "Class" function introduced in 4D v18R3. Please do not open it with 4D v18R2 and under.

Install

This is a 4D component, so you should build this source as 4D component and place it in the "Components" folder of your project root.

Documents

Please refer to the doc.

Contents

Example

Small sample demo is in the "test" folder. Just launch it with 4D v18 Standalone and connect to it with your favorite web browser via http://localhost/.

License

HTTPServer component is released under MIT license.

Release Note

  • JSON body was not parsed since the content-type may be application/json; charset=utf-8, not application/json. now it's fixed (2023-12-26)
  • Request.redirect will not encode path parameter any more (2022-03-24)
  • Documents are moved from wiki to Github Pages (2021-05-04)
  • Added Request.baseUrl attribute support (2021-05-02)
  • Fixed bug : Request.params does not return params when multiple route matches the path (2021-05-02)
  • Fixed bug : Response.cookie, httpOnly was not default, path param was not root when option is omitted (2021-04-02)
  • Fixed bug : Response.redirect did not work (2021-04-02)
  • Added component HTTP server support (2020-05-24)
  • Modified compareCaseSensitive command (2020-05-09)
  • Rewritten using 4D v18R3 using Class function (2020-05-06)
  • Added new Router (2020-04-26)
  • Moved HttpServer.vhost to new Virtualhost (2020-04-23)

About

4D Component which includes methods to help your web developing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published