Merge attribute handling from request and response to commen code.
This commit was merged in pull request #7.
This commit is contained in:
@@ -11,6 +11,10 @@ func NewMimeMediaType(name string, values ...string) *mimeMediaType {
|
||||
return m
|
||||
}
|
||||
|
||||
func (m mimeMediaType) Name() string {
|
||||
return m.sos.name
|
||||
}
|
||||
|
||||
func (m mimeMediaType) String() string {
|
||||
return m.sos.String()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user