Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
3b599779
Commit
3b599779
authored
Jun 01, 2020
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http mime
parent
90cca94c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main.js
http-listener/main.js
+2
-2
service-main.js
http-listener/ws/service-main.js
+1
-1
No files found.
http-listener/main.js
View file @
3b599779
...
...
@@ -48,13 +48,13 @@ HTTPListener.prototype._http_start = function()
}
});
app
.
use
(
bodyParser
.
json
({
limit
:
'128mb'
}));
app
.
use
(
bodyParser
.
json
({
limit
:
'128mb'
,
type
:
"*/json"
}));
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
true
,
limit
:
'128mb'
}));
app
.
use
(
bodyParser
.
raw
({
limit
:
'128mb'
}));
app
.
use
(
bodyParser
.
text
({
limit
:
'128mb'
,
type
:
"text/*"
}));
app
.
use
(
bodyParser
.
raw
({
limit
:
'128mb'
,
type
:
"*/*"
}));
var
context
=
require
(
'./lib/http-context'
);
app
.
use
(
context
.
middleware
({
...
...
http-listener/ws/service-main.js
View file @
3b599779
...
...
@@ -28,7 +28,7 @@ var process_req = function(req, res ,method) {
j
.
forEach
(
function
(
item
){
var
httpdata
=
{
'object_type'
:
'httpdata'
,
'headers'
:
req
.
headers
,
'headers'
:
req
.
headers
,
'method'
:
method
,
'data'
:
{}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment