You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/04/12 04:30:20 UTC
[GitHub] [openwhisk] mango009 opened a new issue, #5212: could not set raw-http annotation to true for web action
mango009 opened a new issue, #5212:
URL: https://github.com/apache/openwhisk/issues/5212
Cannot set `raw-http` annotation to true
```
$ wsk -i action create handler --kind nodejs:14 handler.js -a raw-http true --web true --timeout 300000
$ ok: created action handler
$ wsk -i action get handler
$ ok: got action handler
{
"namespace": "guest",
"name": "handler",
"version": "0.0.1",
"exec": {
"kind": "nodejs:14",
"binary": false
},
"annotations": [
{
"key": "web-export",
"value": true
},
{
"key": "raw-http",
"value": false
},
{
"key": "final",
"value": true
},
{
"key": "provide-api-key",
"value": false
},
{
"key": "exec",
"value": "nodejs:14"
}
],
"limits": {
"timeout": 300000,
"memory": 256,
"logs": 10,
"concurrency": 1
},
"publish": false,
"updated": 1649737589688
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] mango009 commented on issue #5212: could not set raw-http annotation to true for web action
Posted by GitBox <gi...@apache.org>.
mango009 commented on issue #5212:
URL: https://github.com/apache/openwhisk/issues/5212#issuecomment-1097229589
Yeah. That worked. The document (https://github.com/apache/openwhisk/blob/master/docs/annotations.md#annotations-specific-to-web-actions) is misleading or outdated though.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] style95 commented on issue #5212: could not set raw-http annotation to true for web action
Posted by GitBox <gi...@apache.org>.
style95 commented on issue #5212:
URL: https://github.com/apache/openwhisk/issues/5212#issuecomment-1096328944
You need to set `raw` for the `--web` option.
https://github.com/apache/openwhisk/blob/master/docs/webactions.md#enabling-raw-http-handling
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] mango009 closed issue #5212: could not set raw-http annotation to true for web action
Posted by GitBox <gi...@apache.org>.
mango009 closed issue #5212: could not set raw-http annotation to true for web action
URL: https://github.com/apache/openwhisk/issues/5212
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org