Parcourir la source

Must take care of #at:put: by hand.

Herby Vojčík il y a 7 ans
Parent
commit
89f3e3f203
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      src/Znock/ZnockBase.class.st

+ 7 - 0
src/Znock/ZnockBase.class.st

@@ -18,6 +18,13 @@ ZnockBase class >> in: aZnock url: aZnUrl [
 		yourself
 ]
 
+{ #category : #public }
+ZnockBase >> at: keyString put: valueString [
+	self response.
+	^ builtClient response headers at: keyString put: valueString
+
+]
+
 { #category : #accessing }
 ZnockBase >> baseUrl [
 	^ baseUrl