Skip to content

Commit 3e0b0f6

Browse files
committed
Update README
1 parent 1c8d24f commit 3e0b0f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![ActionServerless Testing](https://github.com/gitx-io/ActionServerless/workflows/Test%20run%20funcs/badge.svg)](https://github.com/gitx-io/ActionServerless/blob/master/.github/workflows/test_run_funcs.yml)
44

5-
ActionServerless is an action to do some computing and then generate a string/JSON file to a path, you can visit the file as a service when in dev/testing, or in your production. We may take it as a GitHub Actions powered `serverless` service.
5+
ActionServerless is an action to do some computing and then generate a string/JSON file to a path, you can visit the file as a service when in dev/testing, or even in your production. We may take it as a GitHub Actions powered `serverless` service.
66

77
In fact you can do all of these in native GitHub actions. ActionServerless just wraps the steps to simplify the work:
88

@@ -37,10 +37,11 @@ more languages' examples you can find [here](https://github.com/gitx-io/ActionSe
3737
| Golang | ⬜️ not supported yet |
3838
| Haskell | ⬜️ not supported yet |
3939
| Elixir | ⬜️ not supported yet |
40+
| PHP | ⬜️ not supported yet |
4041

41-
## HTTP(s) Headers
42+
## HTTP Headers
4243

43-
If we'd like to be serious to take visiting such a GitHub raw file as a 'service', it's no problem for most situations as you request a normal HTTP(s) service. But GitHub returns a `text/html` for any raw files it serves, that might lead to some bugs though I can't give an example yet.
44+
If we'd like to be serious to take visiting such a GitHub raw file as a 'service', it's no problem for most situations as you request a normal HTTP service. But GitHub returns a `text/html` for any raw files it serves, that might lead to some bugs though I can't give an example yet.
4445

4546
So we provide a header rewrite service, which returns an `application/json` header for the `json` format files(those generated file suffixed with `.json`), and a `text/plain` header for the rest(those string or any text-based format files).
4647

0 commit comments

Comments
 (0)