Skip to content

Commit 51c0fa2

Browse files
Rename UserAgent→User-Agent, byte-size→Byte-Size, byte-size-full→Byte-Size-Full, byte-size-part→Byte-Size-Part in DTD, YANG and spec files
Agent-Logs-Url: https://github.com/WEBcodeX1/http-1.2/sessions/5878a0ad-3386-4718-844b-c2825dbad7f2 Co-authored-by: clauspruefer <17313789+clauspruefer@users.noreply.github.com>
1 parent a4710a3 commit 51c0fa2

5 files changed

Lines changed: 24 additions & 24 deletions

File tree

specs/xml/NLAFP-XML-SPECS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Header>
1515
<Host>testapp1.local</Host>
1616
<URL>/testpath/index.html</URL>
17-
<UserAgent>Falcon-Browser</UserAgent>
17+
<User-Agent>Falcon-Browser</User-Agent>
1818
</Header>
1919
</Request>
2020
</NLAP>
@@ -60,7 +60,7 @@
6060
<Header>
6161
<Host>testapp1.local</Host>
6262
<URL>/testpath/nice-image.png</URL>
63-
<UserAgent>Falcon-Browser</UserAgent>
63+
<User-Agent>Falcon-Browser</User-Agent>
6464
</Header>
6565
</Request>
6666
</NLAP>
@@ -77,7 +77,7 @@
7777
<Subtype>NLAFP</Subtype>
7878
<Header>
7979
<Mime-Type>image/png</Mime-Type>
80-
<byte-size>7342</byte-size>
80+
<Byte-Size>7342</Byte-Size>
8181
<Compression>none</Compression>
8282
<Encoding>binary</Encoding>
8383
</Header>
@@ -119,7 +119,7 @@ the configuration to chose between sending via `sendfile()` or NLAFP partial tra
119119
<Header>
120120
<Host>testapp1.local</Host>
121121
<URL>/testpath/package.bz2</URL>
122-
<UserAgent>Falcon-Browser</UserAgent>
122+
<User-Agent>Falcon-Browser</User-Agent>
123123
</Header>
124124
</Request>
125125
</NLAP>
@@ -136,8 +136,8 @@ the configuration to chose between sending via `sendfile()` or NLAFP partial tra
136136
<Subtype>NLAFP</Subtype>
137137
<Header>
138138
<Mime-Type>application/bzip2</Mime-Type>
139-
<byte-size-full>3432132</byte-size-full>
140-
<byte-size-part>100000</byte-size-part>
139+
<Byte-Size-Full>3432132</Byte-Size-Full>
140+
<Byte-Size-Part>100000</Byte-Size-Part>
141141
<Compression>none</Compression>
142142
<Encoding>binary</Encoding>
143143
<File-UUID>f3477af2-1212-76af-3377-bc7721afbc7a</File-UUID>

specs/xml/NLAMP-XML-SPECS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Header>
1515
<Host>testapp2.local</Host>
1616
<URL>/python/service1</URL>
17-
<UserAgent>Falcon-Python-Client</UserAgent>
17+
<User-Agent>Falcon-Python-Client</User-Agent>
1818
</Header>
1919
<Payload>
2020
{

specs/xml/NLAPS-XML-SPECS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Host>testapp2.local</Host>
1616
<user>user1@domain.com</user>
1717
<URL>/python/service1</URL>
18-
<UserAgent>Falcon-Python-Client</UserAgent>
18+
<User-Agent>Falcon-Python-Client</User-Agent>
1919
</Header>
2020
<Security>
2121
<Encryption>1</Encryption>

specs/xml/nlap.dtd

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@
5959
<!ELEMENT Header (
6060
Host?,
6161
URL?,
62-
UserAgent?,
62+
User-Agent?,
6363
user?,
6464
connection-close?,
6565
Mime-Type?,
6666
Encoding?,
67-
byte-size?,
68-
byte-size-full?,
69-
byte-size-part?,
67+
Byte-Size?,
68+
Byte-Size-Full?,
69+
Byte-Size-Part?,
7070
Compression?,
7171
File-UUID?,
7272
File-Part-Sum?,
@@ -82,7 +82,7 @@
8282
<!ELEMENT URL (#PCDATA)>
8383

8484
<!-- Client identifier, e.g. "Falcon-Browser" -->
85-
<!ELEMENT UserAgent (#PCDATA)>
85+
<!ELEMENT User-Agent (#PCDATA)>
8686

8787
<!-- Authenticated user identity (NLAPS), e.g. "user1@domain.com" -->
8888
<!ELEMENT user (#PCDATA)>
@@ -99,13 +99,13 @@
9999
<!ELEMENT Encoding (#PCDATA)>
100100

101101
<!-- Total byte size of a single-part file payload -->
102-
<!ELEMENT byte-size (#PCDATA)>
102+
<!ELEMENT Byte-Size (#PCDATA)>
103103

104104
<!-- Total byte size of the complete file (multi-part transfer) -->
105-
<!ELEMENT byte-size-full (#PCDATA)>
105+
<!ELEMENT Byte-Size-Full (#PCDATA)>
106106

107107
<!-- Byte size of this individual part (multi-part transfer) -->
108-
<!ELEMENT byte-size-part (#PCDATA)>
108+
<!ELEMENT Byte-Size-Part (#PCDATA)>
109109

110110
<!-- Compression algorithm applied to the payload: none | gzip | bzip2 | ... -->
111111
<!ELEMENT Compression (#PCDATA)>

specs/xml/nlap.yang

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ module nlap {
137137
(maps to DTD element <URL>).";
138138
}
139139

140-
leaf UserAgent {
140+
leaf User-Agent {
141141
type string;
142142
description
143143
"Client identifier string, e.g. 'Falcon-Browser'
144-
(maps to DTD element <UserAgent>).";
144+
(maps to DTD element <User-Agent>).";
145145
}
146146

147147
leaf user {
@@ -178,27 +178,27 @@ module nlap {
178178
(maps to DTD element <Encoding>).";
179179
}
180180

181-
leaf byte-size {
181+
leaf Byte-Size {
182182
type uint64;
183183
description
184184
"Total byte size of a single-part file payload
185-
(maps to DTD element <byte-size>).";
185+
(maps to DTD element <Byte-Size>).";
186186
}
187187

188188
// --- NLAFP multi-part transfer fields ---
189189

190-
leaf byte-size-full {
190+
leaf Byte-Size-Full {
191191
type uint64;
192192
description
193193
"Total byte size of the complete file in a multi-part transfer
194-
(maps to DTD element <byte-size-full>).";
194+
(maps to DTD element <Byte-Size-Full>).";
195195
}
196196

197-
leaf byte-size-part {
197+
leaf Byte-Size-Part {
198198
type uint64;
199199
description
200200
"Byte size of this individual part in a multi-part transfer
201-
(maps to DTD element <byte-size-part>).";
201+
(maps to DTD element <Byte-Size-Part>).";
202202
}
203203

204204
leaf Compression {

0 commit comments

Comments
 (0)