Skip to content

Commit 4fcdc98

Browse files
committed
migrated from aahframework.org/aah/ahttp repo to seperate library as aahframework.org/ahttp
1 parent 21ff098 commit 4fcdc98

11 files changed

+22
-19
lines changed

ahttp.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
// Package ahttp is to cater HTTP helper methods for aah framework.
66
// Like parse HTTP headers, ResponseWriter, content type, etc.
77
package ahttp
88

9+
// Version no. of aah framework ahttp library
10+
const Version = "0.1"
11+
912
// HTTP Method names
1013
const (
1114
MethodGet = "GET"

content_type.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M. (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp

content_type_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -8,7 +8,7 @@ import (
88
"net/url"
99
"testing"
1010

11-
"aahframework.org/test/assert"
11+
"aahframework.org/test.v0-unstable/assert"
1212
)
1313

1414
func TestNegotiateContentType(t *testing.T) {

fs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp

fs_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"aahframework.org/test/assert"
13+
"aahframework.org/test.v0-unstable/assert"
1414
)
1515

1616
func TestNoDirDisplay(t *testing.T) {

header.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M. (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -12,7 +12,7 @@ import (
1212
"strconv"
1313
"strings"
1414

15-
"aahframework.org/essentials"
15+
"aahframework.org/essentials.v0-unstable"
1616
)
1717

1818
// HTTP Header names

header_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -9,7 +9,7 @@ import (
99
"net/url"
1010
"testing"
1111

12-
"aahframework.org/test/assert"
12+
"aahframework.org/test.v0-unstable/assert"
1313
)
1414

1515
func TestParseAcceptHeaderLanguage(t *testing.T) {

request.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -12,7 +12,7 @@ import (
1212
"net/url"
1313
"strings"
1414

15-
"aahframework.org/essentials"
15+
"aahframework.org/essentials.v0-unstable"
1616
)
1717

1818
const jsonpReqParamKey = "callback"

request_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -9,7 +9,7 @@ import (
99
"net/url"
1010
"testing"
1111

12-
"aahframework.org/test/assert"
12+
"aahframework.org/test.v0-unstable/assert"
1313
)
1414

1515
func TestClientIP(t *testing.T) {

response.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -11,7 +11,7 @@ import (
1111
"net"
1212
"net/http"
1313

14-
"aahframework.org/essentials"
14+
"aahframework.org/essentials.v0-unstable"
1515
)
1616

1717
type (

response_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/aah source code and usage is governed by a MIT style
2+
// go-aah/ahttp source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package ahttp
@@ -14,7 +14,7 @@ import (
1414
"testing"
1515
"time"
1616

17-
"aahframework.org/test/assert"
17+
"aahframework.org/test.v0-unstable/assert"
1818
)
1919

2020
func TestResponseWriter(t *testing.T) {

0 commit comments

Comments
 (0)